	<div class="top-nav">
    	<div class="top-nav-box">
        	<a href="<?php echo $this->_url('/'); ?>" class="return_index">返回爱搜货首页</a>
            <div class="top_nav_right">
    	<?php if ( empty($myifo['username']) ) { ?>
            <a href="<?php echo $this->_url('user/agreement'); ?>" class="">免费注册</a>
            <a href="<?php echo $this->_url('user/login'); ?>" class="">会员登录</a>
		<?php } else { ?>
		 HI !&nbsp;&nbsp;<a href="<?php echo $this->_url('user/index'); ?>" ><?php echo $myifo['username'];?></a><a href="<?php echo $this->_url('user/logout'); ?>" >退出</a>
		<?php } ?>			
				
            </div>
        </div>
    </div>